PdfSaveOptionsRegisterFont(String, Boolean, Boolean, String) Method
Registers a font file for one family and style, so the exporter does not have to find it.
Namespace: Independentsoft.Office.PdfAssembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
public void RegisterFont(
string fontFamily,
bool bold,
bool italic,
string filePath
)
Public Sub RegisterFont (
fontFamily As String,
bold As Boolean,
italic As Boolean,
filePath As String
)
Parameters
- fontFamily String
- The family name as the document refers to it, for example "Arial".
- bold Boolean
- True for the bold face.
- italic Boolean
- True for the italic face.
- filePath String
- Path to a .ttf or .ttc file.